package com.bjc.principle.chainresp;

/**
 * @program: DesignPattern
 * @description:
 * @author: bjc
 * @create: 2021-01-04 16:16
 */
public abstract class Handler {
    protected Handler nextHandler;

    public void setNextHandler(Handler nextHandler){
        this.nextHandler = nextHandler;
    }

    public abstract void process(Integer info);
}
